Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

272
Views
Error: "Sys.WebForms.PageRequestManagerParserErrorException: The message received from the server could not be parsed."

I am facing the following error when I try to save some information to my database:

Uncaught Sys.WebForms.PageRequestManagerParserErrorException: Sys.WebForms.PageRequestManagerParserErrorException: The message received from the server could not be parsed. Common causes for this error are when the response is modified by calls to Response.Write(), response filters, HttpModules, or server trace is enabled. Details: Error parsing near '

The error occurs when I try to save information inside <>, like this:

Error

The button is inside an:

<asp:UpdatePanel ID="UpdatePanel1" runat="server" UpdateMode="Conditional">

<telerik:RadButton ID="cmdSalvar" Text="Salvar" runat="server" Width="85px" OnClick="cmdSalvar_Click" Style="margin-left: 5px;" CssClass="nao-imprimir" />

I have tried many possibilities like using Triggers but none of them worked.

Thank you for your kind attention!

EDIT (Additional Info):

Inside this method cmdSalvar_Click has a validation and a call for the method SalvarNegociacao();

    protected void cmdSalvar_Click(Object sender, EventArgs e)
    {
        if (!VerificaExisteTituloEmNegociacaoRealizada() && IsDadosValidos() && IsAlcadasValidas())
        {
            SalvarNegociacao();
        }
    }

The method SalvarNegociacao() calls a bunch of other methods that interacts with the database.

I have found a script that stops the error occurring, but still cannot insert these special characteres in the database.

Sys.WebForms.PageRequestManager.getInstance().add_endRequest(EndRequestHandler);

function EndRequestHandler(sender, args) {
    if (args.get_error() != undefined) {
        args.set_errorHandled(true);
    }
}
about 4 years ago · Juan Pablo Isaza
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!